package com.kingmed.kmss.common.vo.api;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class ApiCommonResponse<T> {

    private int code;

    private String message;

    private T data;

    public ApiCommonResponse() {
    }

    public ApiCommonResponse(int code, String message) {
        this.code = code;
        this.message = message;
    }
}